package com.scs.application.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description:评价百分比表
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "运营评价标准表")
@TableName("sys_appraise_standard")
public class AppraiseStandard extends DataEntity {
    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "评价类型",
            type = EntityFieldType.STRING,
            length = "",
            not_null = true,
            default_value = "0.0",
            comment = ""
    )
    private String appraiseType;

    @EntityFieldAnnotation(
            text = "评价下限",
            type = EntityFieldType.DOUBLE,
            length = "",
            not_null = true,
            default_value = "0.0",
            comment = ""
    )
    private Double appraiseLow;

    @EntityFieldAnnotation(
            text = "评价上限",
            type = EntityFieldType.DOUBLE,
            length = "",
            not_null = true,
            default_value = "0.0",
            comment = ""
    )
    private Double appraiseHigh;

    @EntityFieldAnnotation(
            text = "分数",
            type = EntityFieldType.DOUBLE,
            length = "",
            not_null = true,
            default_value = "0.0",
            comment = ""
    )
    private Double score;
}
